<!DOCTYPE html>
<html lang="zh-cmn-Hans">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
	<meta name="format-detection" content="telephone=no, date=no, address=no, email=no, url=no">
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
	<meta http-equiv="Pragma" content="no-cache">
	<meta http-equiv="Expires" content="0">
	<title>门店管理</title>
	<meta name="description" content="">
	<link rel="stylesheet" href="__WECHATCSS__/main.css?1">
    <script type="text/javascript">
        (function (win, doc) {
            if (!win.addEventListener) return;
            var html = document.documentElement;
            function setFont() {
                var cliWidth = html.clientWidth;
                html.style.fontSize = 100 * (cliWidth / 750) + 'px';
            }
            win.addEventListener('resize', setFont, false);
            setFont();
        })(window, document);
    </script>
	<link rel="stylesheet" href="__WECHATCSS__/admin/css/main.css?201812202315">
</head>

<body>
	<div class="header">
        <img class="wecharHead" src="{$member_info.headimgurl}" />
        <h2>您好，{$member_info.nickname}</h2>
        <h3>所属门店：{$storeAdminInfo.store_name}</h3>
		<h3>金额：￥{$saAccountInfo.paied_amount}</h3>
        <p>
			<span>库存：</span>
			{volist name='goodsStoreList' id='item'}
				<span>{$item.goods_name}：{$item.store_count}</span>				
			{/volist}
		</p> 
		<p>
			<span>已借出：</span>
			{volist name='goodsStoreList' id='item'}
			{if condition="$item.sale_mode == 1 || $item.sale_mode == 2 "}
				<span>{$item.goods_name}：{$item.hire_sum}</span>	
			{/if}			
			{/volist}
		</p>
		<p>
			<span>已卖出：</span>
			{volist name='goodsStoreList' id='item'}
			{if condition="$item.sale_mode == 0 || $item.sale_mode == 2 "}
				<span>{$item.goods_name}：{$item.sales_sum}</span>		
			{/if}						
			{/volist}
		</p>
    </div>
	<div class="content">
		<p><a href="{:Url('StoreAdmin/myqrcode')}" class="submit an">我的二维码</a></p>
		<p><a href="{:Url('StoreAdmin/returns_index')}" class="submit an">退换处理</a></p>
		<p><a href="{:Url('StoreAdmin/store_manager')}" class="submit an">出货清点</a></p>
	</div>
</body>

</html>